
<template>
  <el-tabs v-model="activeName" class="demo-tabs">
    <el-tab-pane label="Show" name="Show">
      <Show v-model="data"/>
    </el-tab-pane>
    <el-tab-pane label="Data" name="Data">
      <Data v-model="data"/>
    </el-tab-pane>
  </el-tabs>
</template>

<script setup lang="ts">
import Show from "@/pages/Show.vue";
import {ref} from "vue";
import Data from "@/pages/Data.vue";
import gitstars from './data/a.json'

const activeName = ref("Show");
const data = ref(gitstars)

</script>

<style>
@import '@carbon/charts-vue/styles.css';
</style>
